/*
 * Copyright (c) 2014 jbing.org
 */
package jbing.log;

/**
 * jbing.log.Log
 * low->high:DEBUG<INFO<WARN<ERROR<FATAL
 * 
 * @author 旧城(jbing.org@gmail.com)
 * @date 2014/03/19
 * @version 0.0.2
 */
public abstract interface Log {

	/**
	 * DEBUG TIP
	 * low->high:DEBUG<INFO<WARN<ERROR<FATAL
	 * 
	 * @param debug
	 */
	public abstract void debug(String debug);
	
	/**
	 * INFO TIP
	 * low->high:DEBUG<INFO<WARN<ERROR<FATAL
	 * 
	 * @param info
	 */
	public abstract void info(String info);
	
	/**
	 * WARN TIP
	 * low->high:DEBUG<INFO<WARN<ERROR<FATAL
	 * 
	 * @param warn
	 */
	public abstract void warn(String warn);

	/**
	 * ERROR TIP
	 * low->high:DEBUG<INFO<WARN<ERROR<FATAL
	 * 
	 * @param error
	 */
	public abstract void error(String error);
	
	/**
	 * FATAL TIP
	 * low->high:DEBUG<INFO<WARN<ERROR<FATAL
	 * 
	 * @param fatal
	 */
	public abstract void fatal(String fatal);
}
